import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:news_flutter/widgets/custom/my_appbar_widget.dart';

class NewsTypesManagePage extends StatefulWidget {
  _NewsTypesManagePageState createState() => _NewsTypesManagePageState();
}

class _NewsTypesManagePageState extends State<NewsTypesManagePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: MyAppBar(
        title: "新闻分类管理",
      ),
      body: Center(
        child: Column(
          children: <Widget>[
            Text("新闻分类管理"),
            IconButton(
              icon: Icon(Icons.arrow_back),
              onPressed: (){
                Navigator.pop(context,{"key1":"value1"});
              },
            ),
          ],
        ),
      ),
    );
  }
}
